package com.cungmua.app.model.request;

import com.cungmua.app.utils.AppUtils;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by kelvin.nguyen on 6/17/14.
 */
public class GetCategoryRequest extends AuthenticatedRequest{

    private int cityId;

    public GetCategoryRequest(String deviceId, String token) {
        super(deviceId, token);
    }

    public int getCityId() {
        return cityId;
    }

    @JsonProperty("CityId")
    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    @Override
    public String getSign() {
        return AppUtils.MD5("catalog" + getVersion() + getDeviceId() + getToken());
    }
}
